.design {
	@include breakpoint( "<660px" ) {
		padding: 0 6px;
	}
}

.design__group > h2,
.docs__design-group > h2,
.design__group > h2 a:first-child,
.docs__design-group > h2 a:first-child {
	color: $gray-dark;
	font-family: $serif;
	font-size: 38px;
	font-weight: bold;
	margin: 40px 0 15px;
}

.design h3, .design h4 {
	font-weight: bold;
	margin-bottom: 8px;
}

.docs__design-toggle,
.design__toggle {
	float: right;
	top: -68px;
	position: relative;
}

.design__group,
.docs__design-group {
	color: $gray-dark;
}

.design__group .docs-example,
.docs__design-group .docs-example {
	margin-top: 40px;
}

.design__group > .gridicon:hover,
.design__group > .social-logo:hover,
.docs__design-group > .gridicon:hover,
.docs__design-group > .social-logo:hover {
	fill: $gray;
	cursor: pointer;
}

.design__collection {
	min-height: 500px
}

// ==========================================================================
// Button component styles
// ==========================================================================

.docs__design-button-row,
.design__button-row {
	&:first-child {
		margin-top: -16px;
	}
	.button {
		margin-top: 16px !important;
		margin-right: 16px !important;
	}
}

.docs__design-button-row .button-group .button {
	margin-right: 0 !important;
}

.card__component-instance {
	background-color: $gray-light;
	margin: 0;
	padding: 15px 20px;

	h3 span {
		display: inline-block;
		line-height: 25px;
		vertical-align: top;
		margin-left: 5px;
	}

	h3 .gridicon {
		margin: 0 0 0 5px;
	}

	label {
		font-size: 13px;
		color: $gray;
		display: inline-block;
		margin: 5px 0 1px;
	}

	// card
	a.card__property-action {
		float: right;
		font-size: 12px;
		display: inline-block;
		vertical-align: top;
		height: 24px;
		line-height: 24px;
	}

	// editable-property input
	input.editable-property {
		line-height: 30px;
		height: 30px;
		padding: 0 10px;
		font-size: 14px;
	}
}

.card__block {
	margin: 0 0 10px 0;
}

.state-value {
	color: darken( $gray, 20% );
	font-size: 13px;
	background-color: $white;
	padding: 5px;
	border: 1px dotted $gray;
	border-radius: 3px;
	text-align: center;
	cursor: default;
}

.docs-example__wrapper-unique .docs__select-dropdown-container {
	height: 600px;

	.select-dropdown-example__fixed-width {
		.select-dropdown__item {
			.select-dropdown__item-text {
				position: initial;
			}

			&::before {
				display: none;
			}
		}

		.select-dropdown__container {
			max-width: 220px;
		}
	}
}
